package com.easylinkin.linkappapi.device.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.easylinkin.linkappapi.device.entity.DevicePosition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * DevicePosition实体类Vo
 *
 * @author CodeGenerator
 * @date 2022/06/16
 */

@Data
@Accessors(chain = true)
public class DevicePositionVo extends DevicePosition {

    private String id;
    /**
     * 创建时间
     */
    private String createTimeStr;

    private DeviceQueryVo deviceQueryVo;

    /**
     * 设备类型
     */
    private String deviceUnitId;

    /**
     * 模块名称
     */
    private String modelName;

    private Integer type;

    private Integer level;

    private String areaFullName;
    /**
     * 设备状态,0:正常; 1:告警；新增默认：正常
     */
    private Integer status;

    /**
     * 0:离线; 1:在线 新增默认离线
     */
    private Integer onlineState;

    public DevicePositionVo() {
    }

    public DevicePositionVo(DevicePosition appDevicePosition) {
//        this.setName(appDevicePosition.getName());
    }
}
